15 Ways To Improve The Speed of Your Java Application

15 Ways To Improve The Speed of Your Java Application

Get fifteen tips to speed up your Java applications and optimize your code for peak performance. Streamlining your architecture and utilizing new technology reduces execution time. Proper code organization and efficient algorithms ensure applications run efficiently. Configure your systems for optimal performance. Implement these tips for maximum speed.

Read →

Web Performance

Web Performance

User perception of website speed is more important than load time in milliseconds. In this article, we analyze various metrics and best practices to improve user perception. Smoothness of scrolling and animations, real-time page load, and responsiveness to user interaction all affect perception.

Read →

Add an image picker in flutter

Add an image picker in flutter

The image picker is a common component that we often need for user profiles and other things. How to add an image picker to flutter to select images from gallery or camera

Read →

Caching results with Spring Boot

Caching results with Spring Boot

Implementing a Cache with Spring is a fairly easy task, due to the ease of implementation. For this Spring provides us with a series of annotations that we will see in the rest of the tutorial.

Read →

Countdown to new year

Countdown to new year

Combining my passions for astronomy and programming, I'm creating a website to countdown the days until the new year, with a simulation of the earth's movement.

Read →

[D] The Dependency Inversion Principle

[D] The Dependency Inversion Principle

This article explores the Dependency Inversion Principle (DIP) in SOLID design principles, highlighting the benefits of creating flexible and easy-to-maintain code. It provides a Kotlin example for implementing DIP to achieve an adaptable codebase.

Read →

Hibernate Tutorial: Dialects in Hibernate

Hibernate Tutorial: Dialects in Hibernate

Hibernate requires the configuration of a SQL dialect in order to generate appropriate SQL statements for the specified database type. The org.hibernate.dialect package contains many Dialect classes for various RDBMS.

Read →

[I] The Interface Segregation Principle

[I] The Interface Segregation Principle

This article explains the Interface Segregation Principle (ISP), a SOLID design principle. ISP says that a class should only implement the methods it needs. The article gives an example of a bad practice that violates ISP and a better practice that follows it by creating small, specific interfaces for each class.

Read →

Introduction to Gridsome

Introduction to Gridsome

Gridsome is a Vue.js-powered, modern site generator for building the fastest possible websites for any Headless CMS, APIs or Markdown-files. Gridsome makes it easy and fun for developers to create fast, beautiful websites without needing to become a performance expert.

Read →

Java Features

Java Features

Java is a fast, secure, and versatile programming language used in a wide range of applications and websites. From laptops to datacenters, game consoles to scientific supercomputers, Java is everywhere!

Read →

[L] The Liskov Substitution Principle

[L] The Liskov Substitution Principle

The Liskov substitution principle ensures that subclass objects can be used interchangeably with those of the superclass, preventing unexpected program errors. Adhering to this rule simplifies code management and increases predictability.

Read →

[O] The Open-Closed Principle

[O] The Open-Closed Principle

This article explains the Open-Closed Principle (OCP) of SOLID design, which advises creating flexible and maintainable code by keeping classes open to extension but closed to modification. It uses an example to show how to adhere to the OCP by defining an interface and creating separate classes for each shape.

Read →

[S] The Single Responsibility Principle

[S] The Single Responsibility Principle

The Single Responsibility Principle (SRP) is a design principle promoting maintainable code. It states that each class should have only one job. This post explains its importance with code examples, resulting in more understandable and maintainable code.

Read →

Singleton pattern

Singleton pattern

The Singleton pattern restricts a class's instantiation to one object, providing benefits such as global state, configuration settings, and simplified testing. It enforces a single point of access for the instance of the class and reduces the amount of code needed to maintain a single instance of an object.

Read →

Understanding CORS in Web Development

Understanding CORS in Web Development

This article explains CORS (Cross-Origin Resource Sharing) - a security feature built into web browsers that allows web pages to make XMLHttpRequests to another domain. It covers what CORS is, why it's important, and how it works. The article emphasizes the importance of understanding CORS for building modern web applications that require cross-domain requests.

Read →

Vue 3 with Typescript and Decorators

Vue 3 with Typescript and Decorators

I use Typescript and decorator libraries for VueJS. This allows me to use a class syntax that's easier to read. I'll show you how to build a counter component that can increment and decrement.

Read →